package com.lq.common.controller;

import com.lq.common.param.ResponseParam;
import com.lq.common.param.request.ShortPageReq;
import com.lq.common.service.ShortPageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 权哥
 * @version 1.0
 * @date 2023/10/15 0:29
 */
@RestController
@RequestMapping("/lq/common/short")
public class ShortPageController {

    @Autowired
    private ShortPageService shortPageService;

    @PostMapping("/findList")
    public ResponseParam findList(@RequestBody ShortPageReq req){
        return shortPageService.findList(req);
    }
}
